package cn.iocoder.idata.module.idata.convert.batchTask;

import java.util.*;

import cn.iocoder.idata.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import cn.iocoder.idata.module.idata.controller.admin.batchTask.vo.*;
import cn.iocoder.idata.module.idata.dal.dataobject.batchTask.BatchTaskDO;

/**
 * 批次任务 Convert
 *
 * @author 智数源码
 */
@Mapper
public interface BatchTaskConvert {

    BatchTaskConvert INSTANCE = Mappers.getMapper(BatchTaskConvert.class);

    BatchTaskDO convert(BatchTaskCreateReqVO bean);

    BatchTaskDO convert(BatchTaskUpdateReqVO bean);

    BatchTaskRespVO convert(BatchTaskDO bean);

    List<BatchTaskRespVO> convertList(List<BatchTaskDO> list);

    PageResult<BatchTaskRespVO> convertPage(PageResult<BatchTaskDO> page);

    List<BatchTaskExcelVO> convertList02(List<BatchTaskDO> list);

}
